const Mission = () => import("@/views/mission/Index.vue");
// children
const Reward = () => import("@/views/mission/routes/reward/Index.vue");
const Home = () => import("@/views/mission/routes/home/Index.vue");
const Tag = () => import("@/views/mission/routes/tag/Index.vue");

export default {
  path: "/mission",
  name: "Mission",
  component: Mission,
  children: [
    {
      path: "",
      name: "Mission-Home",
      component: Home,
      meta: {
        title: "全部任务"
      }
    },
    {
      path: "reward",
      name: "Mission-Reward",
      component: Reward,
      meta: {
        title: "悬赏任务"
      }
    },
    {
      path: "tag",
      name: "Mission-Tag",
      component: Tag,
      meta: {
        title: "标注任务"
      }
    }
  ]
};
